package edu.friday.common.base;

import edu.friday.common.result.RestResult;

public class BaseController {
    protected RestResult toAjax(int rows){
        return rows >0 ? RestResult.success():RestResult.error();
    }
}
